/* 
element样式修改
*/
@import "./config.scss";
/* 修改全局菜单样式 */
.el-menu {
  width: 100%;
  border-right:0px;
  .el-menu-item {
    padding-left: 58px !important;
    background-color: #314658 !important;
    transition: all 0.5s;
    &.is-active{
      background-color: $red !important;
    }
  }
  .el-submenu__title{
    padding-left:15px !important;
    padding:0px 15px;
  }
  .el-submenu__title:hover,
  .el-menu-item:hover {
    background-color: rgb(91,81,98) !important;
  }
}
// 修改select长度
.el-select{
  width:100%;
}
//表格选择框居中
.el-table-column--selection{
  text-align: center !important;
  .cell{
    padding: 0 14px !important;
  }
}
//修改表格表头颜色
.el-table__header{
  thead th .cell{
    color:#344a5f
  }
}
//去掉分页padding
.pageBox{
  .el-pagination{
    padding:0;
  }
}
//dialog居中对齐
.el-dialog__wrapper{
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  display: flex;
  .el-dialog{
    margin:0;
    margin-top:0 !important;
  }
  .el-dialog__body{
    padding:20px;
  }
  .el-dialog__footer{
    .dialog-footer{
      text-align: center;
      .el-button{
        margin:0 5px
      }
    }
  }
}
